<template>
  <div>
    <h1>电影主页</h1>
    <h1>电影主页</h1>
    <button @click="logout">登出</button>
  </div>
</template>
<script setup>
import mylocal from '../local'

const logout = function(){
  mylocal.setString("is_login","2");
}
</script>

<style scoped>
.tab-index {
  display: inline-block;
  width: 100px;
  height: 30px;
  margin: 0, 50px;
  color: aquamarine;
}
</style>